﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userAccountLogin.aspx.cs" Inherits="SWENAssignment.userAccountLogin" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .auto-style3 {
            height: 184px;
        }
        .auto-style4 {
            font-size: large;
        }
        .auto-style5 {
            height: 23px;
        }
        .auto-style6 {
            width: 89px;
        }
        .auto-style8 {
            height: 26px;
        }
        .auto-style9 {
            width: 89px;
            height: 26px;
        }
        .auto-style1 {
            width: 100%;
        }
        .auto-style10 {
            width: 183px;
        }
        .auto-style11 {
            width: 183px;
            height: 26px;
        }
        .auto-style12 {
            width: 950px;
            height: 280px;
        }
    </style>
</head>
<body style="background-color: #CCFFCC">
    <form id="form1" runat="server">
    <div>
    
        <table class="auto-style1">
        <tr>
            <td class="auto-style3" colspan="5">
                <img alt="banner" class="auto-style12" src="../Images/jjw-dona-filipa-hotel-home-banner-01.jpg" /></td>
        </tr>
        <tr>
            <td class="auto-style4" colspan="5"><strong>WELCOME TO DELONIX REGIA HOTEL MANAGEMENT SYSTEM</strong></td>
        </tr>
        <tr>
            <td class="auto-style5" colspan="5"></td>
        </tr>
        <tr>
            <td colspan="5">Account Login</td>
        </tr>
        <tr>
            <td colspan="5">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="5">
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Homepage.aspx">Homepage</asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>Login ID:</td>
            <td>
                <asp:TextBox ID="tbxLoginID" runat="server" Width="129px"></asp:TextBox>
            </td>
            <td class="auto-style10" colspan="2">
                <asp:RequiredFieldValidator ID="lblLoginValidator" runat="server" ControlToValidate="tbxLoginID" ErrorMessage="Please enter loginID" ForeColor="Red">Please enter loginID</asp:RequiredFieldValidator>
            </td>
            <td class="auto-style6">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style8">Password:</td>
            <td class="auto-style8">
                <asp:TextBox ID="tbxPassword" runat="server" TextMode="Password" Width="129px"></asp:TextBox>
            </td>
            <td class="auto-style11" colspan="2">
                <asp:RequiredFieldValidator ID="lblPasswordValidator" runat="server" ControlToValidate="tbxPassword" ErrorMessage="Please enter password" ForeColor="Red">Please enter password</asp:RequiredFieldValidator>
            </td>
            <td class="auto-style9">
                &nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td class="auto-style10">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
            <td class="auto-style10">
                <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" />
                <br />
                <asp:Label ID="lblLoginFailed" runat="server" Text="Login Status"></asp:Label>
            </td>
            <td class="auto-style6">
                &nbsp;</td>
        </tr>
    </table>
    
    </div>
    </form>
</body>
</html>
